package com.xtaller.easy.admin.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xtaller.common.kit.IdKit;
import java.io.Serializable;

/**
* Created by Taller on 2018/05/11
*/
@SuppressWarnings("serial")
@TableName(value = "sys_log")
public class SysLog extends Model<SysLog> {
  private String id = IdKit.getId(110);
  private String ip;
  private String userId;
  private String token;
  private String url;
  private String classMethod;
  private String method;
  private String param;
  private String result;
  private String message;
  private Integer time;
  private Integer error;
  private String creator;
  private Integer createTime;
    private Integer type;
  private String reviser;
  private Integer reviseTime;
  private Integer isDel;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getId() {
      return id;
  } 
  public void setId(String id) {
      this.id = id;
  } 
  public String getIp() { 
      return ip;
  } 
  public void setIp(String ip) { 
      this.ip = ip;
  } 
  public String getUserId() {
      return userId;
  } 
  public void setUserId(String userId) {
      this.userId = userId;
  } 
  public String getToken() { 
      return token;
  } 
  public void setToken(String token) { 
      this.token = token;
  } 
  public String getUrl() { 
      return url;
  } 
  public void setUrl(String url) { 
      this.url = url;
  } 
  public String getClassMethod() { 
      return classMethod;
  } 
  public void setClassMethod(String classMethod) { 
      this.classMethod = classMethod;
  } 
  public String getMethod() { 
      return method;
  } 
  public void setMethod(String method) { 
      this.method = method;
  } 
  public String getParam() { 
      return param;
  } 
  public void setParam(String param) { 
      this.param = param;
  } 
  public String getResult() { 
      return result;
  } 
  public void setResult(String result) { 
      this.result = result;
  } 
  public String getMessage() { 
      return message;
  } 
  public void setMessage(String message) { 
      this.message = message;
  } 
  public Integer getTime() { 
      return time;
  } 
  public void setTime(Integer time) { 
      this.time = time;
  } 
  public Integer getError() { 
      return error;
  } 
  public void setError(Integer error) { 
      this.error = error;
  } 
  public String getCreator() {
      return creator;
  } 
  public void setCreator(String creator) {
      this.creator = creator;
  } 
  public Integer getCreateTime() { 
      return createTime;
  } 
  public void setCreateTime(Integer createTime) { 
      this.createTime = createTime;
  } 
  public String getReviser() {
      return reviser;
  } 
  public void setReviser(String reviser) {
      this.reviser = reviser;
  } 
  public Integer getReviseTime() { 
      return reviseTime;
  } 
  public void setReviseTime(Integer reviseTime) { 
      this.reviseTime = reviseTime;
  } 
  public Integer getIsDel() { 
      return isDel;
  } 
  public void setIsDel(Integer isDel) { 
      this.isDel = isDel;
  } 
  @Override
  protected Serializable pkVal() {
      return id;
  }
}
